/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.woodws.fresh.hf.api.dto

import io.swagger.annotations.*

import java.time.LocalDateTime
import java.io.Serializable

/**
 * 举报表Dto
 * @author maoxiongdong
*/
@ApiModel(value = "举报表")
data class HfReportDto(@ApiModelProperty(value = "序列号") var id: Long? = null): Serializable{

    /**
    * 举报人 id
    */
    @ApiModelProperty(value = "举报人 id")
    var userId: Long? = null

    /**
    * 举报信息id
    */
    @ApiModelProperty(value = "举报信息id")
    var reportId: Long? = null

    /**
    * 举报类型
    */
    @ApiModelProperty(value = "举报类型")
    var reportType: String? = null

    /**
    * 状态
    */
    @ApiModelProperty(value = "状态")
    var state: String? = null

    /**
    * 举报理由
    */
    @ApiModelProperty(value = "举报理由")
    var reportReason: String? = null

    /**
    * 审批人编号
    */
    @ApiModelProperty(value = "审批人编号")
    var approvalId: Long? = null

    /**
    * 审批时间
    */
    @ApiModelProperty(value = "审批时间")
    var approvalTime: LocalDateTime? = null

    /**
    * 拒绝理由
    */
    @ApiModelProperty(value = "拒绝理由")
    var refuseReason: String? = null

    /**
    * 多租户
    */
    @ApiModelProperty(value = "多租户")
    var tenantId: Long? = null

    /**
    * 删除标识，0正常，1删除
    */
    @ApiModelProperty(value = "删除标识，0正常，1删除")
    var delFlag: Int? = null

    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    var createdDate: LocalDateTime? = null

    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    var createdBy: Long? = null

    /**
    * 最后更新时间
    */
    @ApiModelProperty(value = "最后更新时间")
    var updateDate: LocalDateTime? = null

    /**
    * 最后更新人
    */
    @ApiModelProperty(value = "最后更新人")
    var updateBy: Long? = null
}